<!DOCTYPE html>
<html lang="en" xmlns:a="http://www.w3.org/1999/html">
<head>
<!--    注意浏览器的兼容问题：改程序使用火狐没问题-->
    <meta charset="UTF-8">
    <title>超链接属性</title>
    <style type="text/css">
        a:link{color: blue;text-decoration: none}
        a:hover{color: red;text-decoration: underline;text-decoration-color:#579242}
        a:active{color: purple;text-decoration:line-through ;text-decoration-color:yellow}
        a:visited{color: green;text-decoration: none}
    </style>

</head>
<body>
<!--css样式：-->
<a href="http://www.baidu.com" target="_blank">百度</a>
</body>
</html>